﻿using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbLight : OdDbEntity
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbLight(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbLight_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbLight obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbLight()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbLight(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public new static OdDbLight cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbLight_cast(OdRxObject.getCPtr(pObj));
			OdDbLight result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbLight_desc(), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbLight_isA(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbLight_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdDbLight createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbLight_createObject();
			OdDbLight result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbLight)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdResult dwgInFields(OdDbDwgFiler pFiler)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbLight_dwgInFields(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void dwgOutFields(OdDbDwgFiler pFiler)
		{
			TD_DbPINVOKE.OdDbLight_dwgOutFields(this.swigCPtr, OdDbDwgFiler.getCPtr(pFiler));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual OdResult dxfInFields(OdDbDxfFiler pFiler)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbLight_dxfInFields(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void dxfOutFields(OdDbDxfFiler pFiler)
		{
			TD_DbPINVOKE.OdDbLight_dxfOutFields(this.swigCPtr, OdDbDxfFiler.getCPtr(pFiler));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual OdResult subTransformBy(OdGeMatrix3d xfm)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbLight_subTransformBy(this.swigCPtr, OdGeMatrix3d.getCPtr(xfm));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdResult subErase(bool erasing)
		{
			OdResult result = (OdResult)TD_DbPINVOKE.OdDbLight_subErase(this.swigCPtr, erasing);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void subHighlight(bool bDoIt, OdDbFullSubentPath pSubId, bool highlightAll)
		{
			TD_DbPINVOKE.OdDbLight_subHighlight__SWIG_0(this.swigCPtr, bDoIt, OdDbFullSubentPath.getCPtr(pSubId), highlightAll);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual void subHighlight(bool bDoIt, OdDbFullSubentPath pSubId)
		{
			TD_DbPINVOKE.OdDbLight_subHighlight__SWIG_1(this.swigCPtr, bDoIt, OdDbFullSubentPath.getCPtr(pSubId));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual void subHighlight(bool bDoIt)
		{
			TD_DbPINVOKE.OdDbLight_subHighlight__SWIG_2(this.swigCPtr, bDoIt);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual void subHighlight()
		{
			TD_DbPINVOKE.OdDbLight_subHighlight__SWIG_3(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual OdGiDrawable.DrawableType drawableType()
		{
			OdGiDrawable.DrawableType result = (OdGiDrawable.DrawableType)TD_DbPINVOKE.OdDbLight_drawableType(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual uint subSetAttributes(OdGiDrawableTraits pTraits)
		{
			uint result = TD_DbPINVOKE.OdDbLight_subSetAttributes(this.swigCPtr, OdGiDrawableTraits.getCPtr(pTraits));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool subWorldDraw(OdGiWorldDraw pWd)
		{
			bool result = TD_DbPINVOKE.OdDbLight_subWorldDraw(this.swigCPtr, OdGiWorldDraw.getCPtr(pWd));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void subViewportDraw(OdGiViewportDraw pVd)
		{
			TD_DbPINVOKE.OdDbLight_subViewportDraw(this.swigCPtr, OdGiViewportDraw.getCPtr(pVd));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public string name()
		{
			string result = TD_DbPINVOKE.OdDbLight_name(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setName(string name)
		{
			TD_DbPINVOKE.OdDbLight_setName(this.swigCPtr, name);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGiDrawable.DrawableType lightType()
		{
			OdGiDrawable.DrawableType result = (OdGiDrawable.DrawableType)TD_DbPINVOKE.OdDbLight_lightType(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLightType(OdGiDrawable.DrawableType type)
		{
			TD_DbPINVOKE.OdDbLight_setLightType(this.swigCPtr, (int)type);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool isOn()
		{
			bool result = TD_DbPINVOKE.OdDbLight_isOn(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setOn(bool value)
		{
			TD_DbPINVOKE.OdDbLight_setOn(this.swigCPtr, value);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool isPlottable()
		{
			bool result = TD_DbPINVOKE.OdDbLight_isPlottable(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setIsPlottable(bool plot)
		{
			TD_DbPINVOKE.OdDbLight_setIsPlottable(this.swigCPtr, plot);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdCmColor lightColor()
		{
			OdCmColor result = new OdCmColor(TD_DbPINVOKE.OdDbLight_lightColor(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLightColor(OdCmColor color)
		{
			TD_DbPINVOKE.OdDbLight_setLightColor(this.swigCPtr, OdCmColor.getCPtr(color));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public double intensity()
		{
			double result = TD_DbPINVOKE.OdDbLight_intensity(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setIntensity(double intensity)
		{
			TD_DbPINVOKE.OdDbLight_setIntensity(this.swigCPtr, intensity);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void setShadowParameters(OdGiShadowParameters arg0)
		{
			TD_DbPINVOKE.OdDbLight_setShadowParameters(this.swigCPtr, OdGiShadowParameters.getCPtr(arg0));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGiShadowParameters shadowParameters()
		{
			OdGiShadowParameters result = new OdGiShadowParameters(TD_DbPINVOKE.OdDbLight_shadowParameters(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLightAttenuation(OdGiLightAttenuation arg0)
		{
			TD_DbPINVOKE.OdDbLight_setLightAttenuation(this.swigCPtr, OdGiLightAttenuation.getCPtr(arg0));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGiLightAttenuation lightAttenuation()
		{
			OdGiLightAttenuation result = new OdGiLightAttenuation(TD_DbPINVOKE.OdDbLight_lightAttenuation(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setPosition(OdGePoint3d pos)
		{
			TD_DbPINVOKE.OdDbLight_setPosition(this.swigCPtr, OdGePoint3d.getCPtr(pos));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGePoint3d position()
		{
			OdGePoint3d result = new OdGePoint3d(TD_DbPINVOKE.OdDbLight_position(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGePoint3d targetLocation()
		{
			OdGePoint3d result = new OdGePoint3d(TD_DbPINVOKE.OdDbLight_targetLocation(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setTargetLocation(OdGePoint3d newVal)
		{
			TD_DbPINVOKE.OdDbLight_setTargetLocation(this.swigCPtr, OdGePoint3d.getCPtr(newVal));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void setHotspotAndFalloff(double hotspot, double falloff)
		{
			TD_DbPINVOKE.OdDbLight_setHotspotAndFalloff(this.swigCPtr, hotspot, falloff);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public double hotspotAngle()
		{
			double result = TD_DbPINVOKE.OdDbLight_hotspotAngle(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public double falloffAngle()
		{
			double result = TD_DbPINVOKE.OdDbLight_falloffAngle(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGeVector3d lightDirection()
		{
			OdGeVector3d result = new OdGeVector3d(TD_DbPINVOKE.OdDbLight_lightDirection(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLightDirection(OdGeVector3d lightvec)
		{
			TD_DbPINVOKE.OdDbLight_setLightDirection(this.swigCPtr, OdGeVector3d.getCPtr(lightvec));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdDbLight.PhysicalIntensityMethod physicalIntensityMethod()
		{
			OdDbLight.PhysicalIntensityMethod result = (OdDbLight.PhysicalIntensityMethod)TD_DbPINVOKE.OdDbLight_physicalIntensityMethod(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setPhysicalIntensityMethod(OdDbLight.PhysicalIntensityMethod physIntMethod)
		{
			TD_DbPINVOKE.OdDbLight_setPhysicalIntensityMethod(this.swigCPtr, (int)physIntMethod);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public double physicalIntensity()
		{
			double result = TD_DbPINVOKE.OdDbLight_physicalIntensity(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setPhysicalIntensity(double physIntensity)
		{
			TD_DbPINVOKE.OdDbLight_setPhysicalIntensity(this.swigCPtr, physIntensity);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public double illuminanceDistance()
		{
			double result = TD_DbPINVOKE.OdDbLight_illuminanceDistance(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setIlluminanceDistance(double illumDistance)
		{
			TD_DbPINVOKE.OdDbLight_setIlluminanceDistance(this.swigCPtr, illumDistance);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdDbLight.LampColorType lampColorType()
		{
			OdDbLight.LampColorType result = (OdDbLight.LampColorType)TD_DbPINVOKE.OdDbLight_lampColorType(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLampColorType(OdDbLight.LampColorType colorType)
		{
			TD_DbPINVOKE.OdDbLight_setLampColorType(this.swigCPtr, (int)colorType);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public double lampColorTemp()
		{
			double result = TD_DbPINVOKE.OdDbLight_lampColorTemp(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLampColorTemp(double colorTemp)
		{
			TD_DbPINVOKE.OdDbLight_setLampColorTemp(this.swigCPtr, colorTemp);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdDbLight.LampColorPreset lampColorPreset()
		{
			OdDbLight.LampColorPreset result = (OdDbLight.LampColorPreset)TD_DbPINVOKE.OdDbLight_lampColorPreset(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLampColorPreset(OdDbLight.LampColorPreset colorPreset)
		{
			TD_DbPINVOKE.OdDbLight_setLampColorPreset(this.swigCPtr, (int)colorPreset);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGiColorRGB lampColorRGB()
		{
			OdGiColorRGB result = new OdGiColorRGB(TD_DbPINVOKE.OdDbLight_lampColorRGB(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setLampColorRGB(OdGiColorRGB color)
		{
			TD_DbPINVOKE.OdDbLight_setLampColorRGB(this.swigCPtr, OdGiColorRGB.getCPtr(color));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdCmColor resultingColor()
		{
			OdCmColor result = new OdCmColor(TD_DbPINVOKE.OdDbLight_resultingColor(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public string webFile()
		{
			string result = TD_DbPINVOKE.OdDbLight_webFile(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setWebFile(string webFile)
		{
			TD_DbPINVOKE.OdDbLight_setWebFile(this.swigCPtr, webFile);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGeVector3d webRotation()
		{
			OdGeVector3d result = new OdGeVector3d(TD_DbPINVOKE.OdDbLight_webRotation(this.swigCPtr), true);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setWebRotation(OdGeVector3d rotation)
		{
			TD_DbPINVOKE.OdDbLight_setWebRotation(this.swigCPtr, OdGeVector3d.getCPtr(rotation));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool hasTarget()
		{
			bool result = TD_DbPINVOKE.OdDbLight_hasTarget(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setHasTarget(bool bTarget)
		{
			TD_DbPINVOKE.OdDbLight_setHasTarget(this.swigCPtr, bTarget);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdDbLight.GlyphDisplayType glyphDisplay()
		{
			OdDbLight.GlyphDisplayType result = (OdDbLight.GlyphDisplayType)TD_DbPINVOKE.OdDbLight_glyphDisplay(this.swigCPtr);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setGlyphDisplay(OdDbLight.GlyphDisplayType type)
		{
			TD_DbPINVOKE.OdDbLight_setGlyphDisplay(this.swigCPtr, (int)type);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		public enum PhysicalIntensityMethod
		{
			kPeakIntensity,
			kFlux,
			kIlluminance
		}

		public enum LampColorType
		{
			kKelvin,
			kPreset
		}

		public enum LampColorPreset
		{
			kD65White,
			kFluorescent,
			kCoolWhite,
			kWhiteFluorescent,
			kDaylightFluorescent,
			kIncandescent,
			kXenon,
			kHalogen,
			kQuartz,
			kMetalHalide,
			kMercury,
			kPhosphorMercury,
			kHighPressureSodium,
			kLowPressureSodium,
			kCustom
		}

		public enum GlyphDisplayType
		{
			kGlyphDisplayAuto,
			kGlyphDisplayOn,
			kGlyphDisplayOff
		}
	}
}
